package com.lnking.lnkingplace.model.request.outsiders;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

@Data
public class OutsidersAddRequest {
    @ApiModelProperty(value = "名字")
    private String name;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "渠道,因为有多个单位使用，标识属于那个渠道的")
    private String channel;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "籍贯")
    private String nativePlace;

    @ApiModelProperty(value = "是否管控")
    private String control;


    @ApiModelProperty(value = "风险等级")
    private String level;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private LocalDateTime startTime;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "健康码	行程码	核酸检测报告")
    private String photos;
}
